import autoHeight from './autoHeight'
import Vue from "vue";

const install = function (Vue) {
  Vue.directive('autoHeight', autoHeight)
}

if (window.Vue) {
  window['autoHeight'] = autoHeight
  // eslint-disable-next-line no-undef
  Vue.use(install)
}

autoHeight.install = install

export default autoHeight
